package com.javaweb.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.javaweb.common.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("kdl_supplier")
public class KDLSupplier extends BaseEntity {
    private String principalid;
    private String ordertype;
    private String senddate;
    private String type;
    private String lineNo;
    private String groupaccount;
    private String suppliercode;
    private String suppliername;
    private String enname;
    private String address;
    private String enaddress;
    private String warehouseaddress;
    private String nation;
    private String region;
    private String transzone;
    private String profession;
    private String city;
    private String language;
    private String currency;
    private String contacts;
    private String pkorg;
    private String ncts;
    private String kdlts;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ts;
    private Integer status;
    private String fcbz;
    private String fcdate;
    private String fcyy;
    @TableField(exist = false)
    private String spzt;
    private String restcode;
    //质量专员
    private String qcusername;
}
